﻿using Assets.Scripts.DL.Enemy.CommonEnemy;
using System.Collections.Generic;
using UnityEngine;

namespace Assets.Scripts.DL.Enemy.BaseClass.ConfigData {
	[CreateAssetMenu(fileName = "EnemyDataConfig", menuName = "ConfigData/EnemyBaseConfig")]
	public class EnemyBaseConfig : ScriptableObject {
		[Header("BaseData")]
		public int MaxHP;
		public float InitGravity;

		[Header("Distance")]
		public float AtkDis;
		public float ViewDis;
		public float WallDis;
		public float GrdDis;

		[Header("Speed")]
		public float MoveSpeed;
		public float FlyDashSpeed = 10;

		[Header("Offset")]
		public Vector2 GrdLeft;
		public Vector2 GrdRight;
		public Vector2 WallOff;
		public Vector2 AtkOff;
		public Vector2 ViewOff;

		[Header("Time")]
		public float CommonAtkGap;
		public float EachAtkGap = 1;
		//public Dictionary<StateEnum, float> AtkCd;
		public Vector2 MoveTimeRange;
		public Vector2 IdleTimeRange;
		public float ConsistentAtkGap;//持续伤害的每次伤害间隔
		public float SendArkNormalizaTime = 0.65f;//持续伤害的每次伤害间隔
		public float DashTime = 1;

		[Header("Count")]
		public int ConsistentAtkCnt;

		[Header("Damage")]
		public int Damage = 10;


	}
}
